import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/vant2'
import '@/styles/common.less'

import NavBar from './components/NavBar.vue'
import SearchBar from './components/SearchBar.vue'
import GoodsList from './components/GoodsList.vue'
import OrderList from './components/OrderList.vue'

Vue.config.productionTip = false

Vue.component('NavBar', NavBar)
Vue.component('SearchBar', SearchBar)
Vue.component('GoodsList', GoodsList)
Vue.component('OrderList', OrderList)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
